package study06;

class Student{
    String name;
    int age;
    void speak(){
        System.out.println("我的名字是：" + name+ "," + "今年"+ age +"岁");
    }
}

/**
 * @author GZQ
 * @Date 2023/11/9
 */

public class Example01 {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.speak();
    }
}
